<!--
  // Creation History
  // --------------------------------------------------------------
  //	Company:			HTHK
  //	NAME:				midway.jsp
  //	BY:					Beyes Xia
  //	DATE:				2004-4-15 14:39
  // --------------------------------------------------------------
-->
<%@ page import="com.ffpc.sql.*"%>
<%@ page import="java.sql.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="admin.*" %>

<%
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd",Locale.US);
	String today=sdf.format(new java.util.Date());
	String search_date = request.getParameter("search_date");
	User user = (User)session.getAttribute("user");
	System.out.println("xx:"+user.getStaff_id());
%>
		<jsp:forward page="/servlet/tss.weeklytimesheet.WeeklyTimeSheetInput">
		<jsp:param name="selected_date" value="<%= search_date %>" />
		<jsp:param name="staff_no" value="<%= user.getStaff_id() %>" />
		<jsp:param name="which_week" value="1" />
		<jsp:param name="operation_type" value="edit" />
		<jsp:param name="now_date" value="<%= today %>" />
		</jsp:forward>
